<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Video.js</title>
  <link href="https://vjs.zencdn.net/7.6.0/video-js.css" rel="stylesheet">

  <!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
  <script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
  <style>
    .app {
      background-color: #282c34;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: calc(10px + 2vmin);
      color: white;
    }

    .app a {
      color: #fff;
    }
  </style>
</head>

<body>
  <div class="app">
    <h1>Video.js</h1>
    <br>
    <video id='my-video' class='video-js' controls preload='auto' width='950' height='400'
      poster='https://img.mukewang.com/5d71f9d60001c1f516000540.jpg' data-setup='{}'>
      <source src='http://vjs.zencdn.net/v/oceans.mp4' type='video/mp4'>
      <source src='MY_VIDEO.webm' type='video/webm'>
      <p class='vjs-no-js'>
        To view this video please enable JavaScript, and consider upgrading to a web browser that
        <a href='https://videojs.com/html5-video-support/' target='_blank'>supports HTML5 video</a>
      </p>
    </video>
    <br>
    <p>
      <a href="https://videojs.com/getting-started/">https://videojs.com/getting-started/</a>
    </p>
  </div>

  <script src='https://vjs.zencdn.net/7.6.0/video.js'></script>
  <script>
    var css =
      ".video-js .vjs-time-tooltip{top: -3.9em;}.video-js .vjs-control:focus, .video-js .vjs-control:focus:before, .video-js .vjs-control:hover:before{text-shadow: 0 0 0em #fff;}.vjs-menu li.vjs-menu-item:focus,.vjs-menu li.vjs-menu-item:hover{outline: none}.video-js.vjs-fullscreen{font-size:18px}.video-js button{outline: none}.video-js .vjs-controls-disabled .vjs-big-play-button{display: none!important}.vjs-paused.vjs-has-started.video-js .vjs-big-play-button,.video-js.vjs-ended .vjs-big-play-button,.video-js.vjs-paused .vjs-big-play-button{display: block}.video-js .vjs-load-progress div,.vjs-seeking .vjs-big-play-button,.vjs-waiting .vjs-big-play-button {display: none!important}.video-js.vjs-ended .vjs-big-play-button{display: block!important}.video-js .vjs-big-play-button{top: 50%;left: 50%;margin-left: -1em;margin-top: -1em;width: 2em;height: 2em;line-height: 2em;border: none;border-radius: 50%;font-size: 3.5em;background-color: rgba(0, 0, 0, .45);color: #fff;-webkit-transition: border-color .4s, outline .4s, background-color .4s;-moz-transition: border-color .4s, outline .4s, background-color .4s;-ms-transition: border-color .4s, outline .4s, background-color .4s;-o-transition:border-color .4s, outline .4s, background-color .4s;transition: border-color .4s, outline .4s, background-color .4s}.video-js .vjs-big-play-button{background-color: rgba(0, 0, 0, 0);font-size: 12em;border-radius: 0%;height: 1em!important;line-height: 1em!important;margin-top: -0.5em!important}.video-js:hover .vjs-big-play-button,.video-js .vjs-big-play-button:focus,.video-js .vjs-big-play-button:active{background-color: rgba(0, 0, 0, 0)}.video-js .vjs-remaining-time-display{display: none}.video-js .vjs-duration{display: block;left: 0em}.video-js .vjs-current-time{display: block;left: 0}.vjs-live .vjs-time-control{display: none}",
      head = document.head || document.getElementsByTagName("head")[0],
      style = document.createElement("style");
      
    style.type = "text/css";
    if (style.styleSheet) {
      style.styleSheet.cssText = css;
    } else {
      style.appendChild(document.createTextNode(css));
    }
    head.appendChild(style);
    videojs.options.controlBar = {
      volumePanel: { inline: !1, vertical: !0 },
      children: [
        "playToggle",
        "volumePanel",
        "liveDisplay",
        "currentTimeDisplay",
        "progressControl",
        "durationDisplay",
        "chaptersButton",
        "descriptionsButton",
        "subsCapsButton",
        "audioTrackButton",
        "fullscreenToggle"
      ]
    };

  </script>

</body>

</html>